package com.furns.entity;

import java.math.BigDecimal;


/**
 * @Author LuoJiaCheng
 * @ID 2240129126
 * @Version 1.0
 */
public class Order {
    private String id;//订单号
    private String create_time;//订单生成时间
    private BigDecimal price;//订单金额
    private Integer status;//状态 0 未发货 1 已发货 2 已结账
    private Integer member_id;//订单对应的会员

    public Order() {
    }

    public Order(String id, String create_time, BigDecimal price, Integer status, Integer member_id) {
        this.id = id;
        this.create_time = create_time;
        this.price = price;
        this.status = status;
        this.member_id = member_id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getMember_id() {
        return member_id;
    }

    public void setMember_id(Integer member_id) {
        this.member_id = member_id;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id='" + id + '\'' +
                ", create_time='" + create_time + '\'' +
                ", price=" + price +
                ", status=" + status +
                ", member_id=" + member_id +
                '}';
    }
}